 <!-- 导航部分 -->
 <header class="header">
  <nav class="header-nav">
    <ul class="nav-list clearfix">

      <li class="nav-item logo-wrap">
        <a class="item-link" href="/index">
          <img class="logo-img" src="<%= commonPageConf.logoImg%>" alt="<%= commonPageConf.logoTitle%>">
        </a>
      </li>

      <li class="nav-item logo-title">
        <a class="item-link active" href="/index">
          <%= commonPageConf.logoTitle%>
        </a>
      </li>

      <% commonPageConf.navItem.forEach((item, index) =>{ %>
      <li class="nav-item">
        <a class="item-link <%= curRouter == commonPageConf.navLink[index] ? 'active' : '' %>" href="<%= commonPageConf.navLink[index]%>">
          <%= item%>
        </a>
      </li>
      <% }) %>

      <div class="nav-item user-item<%= isLogin == true ? ' active' : '' %> ">
        <a class="item-link" href=" <%= commonPageConf.userCenterLink%>">
          <%= commonPageConf.userCenterTitle%>
        </a>
      </div>
      
      <% commonPageConf.loginItem.forEach((item,index) =>{ %>
      <li class="nav-item login-item<%= isLogin == false ? ' active' : '' %>">
        <a class="item-link" href="<%= commonPageConf.loginItemLink[index]%>">
          <%= item%>
        </a>
      </li>
      <% }) %>

      <% commonPageConf.operationItem.forEach((item,index) =>{ %>
        <li class="nav-item operation-item">
          <a class="item-link" href="<%= commonPageConf.operatioinItemLink[index]%>">
            <%= item%>
          </a>
        </li>
        <% }) %>

      <div class="nav-item search-item">
        <div class="layui-form-item">
          <div class="layui-input-block">
            <input type="text" name="title" required="" lay-verify="required" placeholder="<%= commonPageConf.searchTips%>"
              autocomplete="off" class="layui-input">
          </div>
        </div>
        <i class="iconfont icon-search"></i>
      </div>



    </ul>
  </nav>
</header>